<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
		
		<style type="text/css">
			tr{
			background-color: #ffff00;
			}
			tr:hover{
				background-color: #ffff00;
			}
			td:hover,
			td:hover~td{/* td:hover和td:hover~td同时声明 */
				background-color: #FF0000;
			}
			
			
		</style>
	</head>
	<body>
		<table border="1" height="30px" width="300px" cellspacing="0">
			<tr>
				<td>  </td>
				<td>  </td>
				<td>  </td>
				<td>  </td>
				<td>  </td>
				<td>  </td>
				<td>  </td>
				<td>  </td>
				<td>  </td>
				<td>  </td>
			</tr>
		</table>
	</body>
</html>
